package com.ruoyi.bi.domain.portal;

import com.ruoyi.bi.domain.common.BaseEntity;
import com.ruoyi.bi.util.RSBIUtils;
import lombok.Data;

import java.util.Date;

/**
 * @author Administrator
 */
@Data
public class MobReportType extends BaseEntity {

	private Integer id;
	private String name;
	private String text;
	private String note;
	private Integer crtUser;
	private Date crtDate;
	private Integer ord;
	private String iconCls;

	@Override
	public void validate() {
		this.name = RSBIUtils.htmlEscape(this.name);
		this.note = RSBIUtils.htmlEscape(this.note);
		this.text = RSBIUtils.htmlEscape(this.text);
	}
}
